//
//  prototipo1MoviesViewController.h
//  prototipo1Movies
//
//  Created by mayraDonaji on 9/25/10.
//  Y David Jimenez
//  Copyright __MyCompanyName__ 2010. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DBDelegate.h"

@interface prototipo1MoviesViewController : UIViewController <UIScrollViewDelegate> {

	UIButton *recomenda, *busqueda, *prox, *noticias, *help;
	DBDelegate * mDB;
	UIScrollView* scrollView;
	UIPageControl* pageControl;
	BOOL pageControlIsChangingPage;
	UIFont* font;
	
}


@property (nonatomic, retain) IBOutlet UIButton * recomenda;
@property (nonatomic, retain) IBOutlet UIButton * busqueda;
@property (nonatomic, retain) IBOutlet UIButton * prox;
@property (nonatomic, retain) IBOutlet UIButton * noticias;
@property (nonatomic, retain) IBOutlet UIButton * help;
@property (nonatomic, retain) IBOutlet UIScrollView * scrollView;
@property (nonatomic, retain) IBOutlet UIPageControl * pageControl;

@property (nonatomic, retain) DBDelegate * mDB;
@property IBOutlet BOOL pageControlIsChangingPage;

-(IBAction) recomenda :(id)sender;
-(IBAction) busqueda :(id)sender;
-(IBAction) prox :(id)sender;
-(IBAction) noticias :(id)sender;
-(IBAction) help :(id)sender;

/* for pageControl */
- (IBAction)changePage:(id)sender;

/* internal */
- (void)setupPage;

@end